let arr = [];
if(!arr.length){  //false  undefined null NaN '' []  0  -0
    console.log('-----');
}
console.log(typeof NaN);  //number